// 输入框
// .choseInput {
//   cursor: pointer;

//   input {
//     cursor: pointer;
//   }

//   .ant-input-affix-wrapper {
//     .ant-input-suffix {
//       color: #ccc;
//       opacity: 0;
//     }

//     &:hover {
//       .ant-input-suffix {
//         opacity: 1;
//       }
//     }
//   }
// }

// 模态框
.modelContainer {
  // background-color: #00acec;

  .titleText {
    height: 30px;
    font-size: 22px;
    line-height: 30px;
  }

  .serch {
    display: flex;

    .serchInput {
      flex: 5;
    }

    .serchButton {
      display: flex;
      flex: 5;
      justify-content: flex-end;
      font-size: 12px;

      button {
        display: flex;
        align-items: center;
        padding-left: 8px;
      }

      span {
        font-size: 12px;
      }
    }
  }

  // 树滚动条隐藏
  // ::-webkit-scrollbar{
  //   display: none;
  // }

  .tree {
    height: 400px;
    padding-top: 10px;

    // overflow: auto;
    // 树滚动条颜色调整
    .ant-tree-list-scrollbar-thumb {
      background: #ddd !important;
    }
    .ant-tree-checkbox{
      margin:0 8px 0 0;
    }
    .ant-tree-treenode{
      display: flex;
      align-items: center;
      padding: 0 0 4px;
      outline: none;
    } 
    .ant-tree-title {
      width: 360px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    // 整体文字样式
    .ant-tree .ant-tree-node-content-wrapper {
      display: inline-flex;
      height: 32px;
      overflow: hidden;
      font-size: 12px;
      font-family: 'Microsoft YaHei';
      line-height: 32px;
    }

    // 图标样式
    .ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle {
      height: 32px;
      font-size: 17px;
      line-height: 32px;
    }

    .ant-tree-switcher .ant-tree-switcher-icon svg,
    .ant-tree-switcher .ant-select-tree-switcher-icon svg {
      color: #aaa;
      // font-size: 16px;
    }

    // 开关图标样式
    .ant-tree-switcher {
      height: 32px;
      line-height: 32px;
    }

    // 选中背景
    .ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before,
    .ant-tree.ant-tree-directory .ant-tree-treenode-selected::before {
      background-color: var(--ant-primary-1);
    }

    // 选中的字体
    .ant-tree.ant-tree-directory
      .ant-tree-treenode
      .ant-tree-node-content-wrapper.ant-tree-node-selected {
      color: #000;
    }

    // 选中的左侧图标
    .ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher {
      color: #000;
    }

    // 列表样式
    .docList {
      position: relative;

      // 列表滚动条隐藏
      ::-webkit-scrollbar {
        display: none;
      }

      table tr .ant-table-selection-column,
      .ant-table-selection-col {
        display: none;
      }

      .searchTotal {
        position: absolute;
        top: 11px;
        right: 10px;
        width: 200px;
        text-align: right;
      }

      .tableItem {
        display: flex;
        align-items: center;

        .docImg {
          width: 22px;
          height: 22px;
          margin-right: 10px;
        }

        .tableItemText {
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }

      .tableRow {
        border: none;
      }

      .ant-table-thead {
        .ant-table-selection {
          display: none;
        }
      }

      .ant-table-body {
        height: 330px;
      }

      .ant-table-tbody > tr > td {
        border: none;
      }

      .ant-table-thead > tr > th,
      .ant-table-tbody > tr > td,
      .ant-table tfoot > tr > th,
      .ant-table tfoot > tr > td {
        padding: 12px 16px;
      }
    }
  }
}

.choseInput {
  // position: relative;
  .list {
    // position: absolute;
    position: relative;
    top: -7px;
    left:-89px;
    width: 260px;
    max-height: 322px;
    margin-top: 13px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    border: solid 1px #ddd;
    border-radius: 2px;


    .message-list-sort-item {
      position: relative;
      display: flex;
      align-items: center;
      height: 32px;
      padding: 0 0 0 8px;
      overflow: hidden;
      > p {
        flex: 1;
        margin-bottom: 0;
        padding-right: 8px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      > div {
        position: absolute;
        top: 0;
        right: 6px;
        display: flex;
        align-items: center;
        height: 32px;
        opacity: 0;
        transition: all ease 0.3s;
        pointer-events: none;
        > span {
          padding: 8px 2px;
          color: #ccc;
          &:hover {
            color: #8c8c8c;
          }
        }
        > svg {
          margin: 0 2px 0 5px;
          cursor: move;
          &:hover {
            circle {
              fill: #8c8c8c;
            }
          }
        }
      }

      &:hover {
        background-color: #f5f5f5;
        > p {
          padding-right: 44px;
        }
        > div {
          opacity: 1;
          pointer-events: auto;
        }
      }
    }
  }
}

.message-list-sort-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 0 0 8px;
  overflow: hidden;
  transition: background ease 0.3s;
  > p {
    flex: 1;
    margin-bottom: 0;
    padding-right: 44px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  > div {
    position: absolute;
    top: 0;
    right: 6px;
    display: flex;
    align-items: center;
    height: 32px;
    opacity: 1;
    transition: all ease 0.3s;
    pointer-events: none;
    > span {
      padding: 8px 2px;
      color: #ccc;
    }
    > svg {
      margin: 0 2px 0 5px;
      cursor: move;
    }
  }
}

.page-select-model-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;

  .select-count-nav {
    > p {
      margin-bottom: 0;

      > span:first-child {
        color: var(--inbiz-color-primary);
      }
    }
  }
}
